home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
9675
/
9675.xpi
/
chrome
/
content
/
simpletimer-options.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-11-30
|
16KB
|
419 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/"
type="text/css"?>
<?xml-stylesheet href="chrome://simpletimer/content/simpletimer.css"
type="text/css"?>
<!DOCTYPE prefwindow SYSTEM "chrome://simpletimer/locale/simpletimer.dtd">
<prefwindow id="simtim-dlgOptionsSimple"
title="&prefwindow.name;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="accept, cancel"
onload="SimpleTimerOptions.onLoadOptions();"
ondialogaccept="return SimpleTimerOptions.onOKOptions();"
persist="screenX screenY">
<prefpane id="simtim-paneNotificationsSimple"
image="chrome://simpletimer/content/images/clock32.png"
label="&pref.pane.notifications;">
<preferences>
<preference id="simtim-prefPopupNotify"
name="extensions.simpletimer@grbradt.org.popupNotify"
type="bool" />
<preference id="simtim-prefAudioNotify"
name="extensions.simpletimer@grbradt.org.audioNotify"
type="bool" />
<preference id="simtim-prefDialogNotify"
name="extensions.simpletimer@grbradt.org.dialogNotify"
type="bool" />
<preference id="simtim-prefRepeatAudio"
name="extensions.simpletimer@grbradt.org.repeatAudio"
type="int" />
<preference id="simtim-prefRepeatMax"
name="extensions.simpletimer@grbradt.org.repeatMax"
type="int" />
<preference id="simtim-prefAudioFile"
name="extensions.simpletimer@grbradt.org.audioFile"
type="int" />
</preferences>
<groupbox>
<caption label="&pref.grpbox.countdown;"
class="simtim-prefGroupboxLabel" />
<vbox>
<checkbox id="simtim-cboxAudioNotify"
preference="simtim-prefAudioNotify"
label="&pref.cbox.audio;"
oncommand="SimpleTimerOptions.onAudioNotifyClick();" />
<checkbox id="simtim-cboxPopupNotify"
preference="simtim-prefPopupNotify"
label="&pref.cbox.popup;" />
<checkbox id="simtim-cboxDialogNotify"
preference="simtim-prefDialogNotify"
label="&pref.cbox.dialog;"
oncommand="SimpleTimerOptions.onDialogNotifyClick();" />
<hbox align="center">
<spacer width="20" />
<label value="&pref.label.repeat.audio;"
control="simtim-tboxRepeatAudio" />
<textbox id="simtim-tboxRepeatAudio"
preference="simtim-prefRepeatAudio"
class="simtim-borderColors"
disabled="true"
type="number"
value="1"
wraparound="true"
size="2"
width="65"
min="-59"
max="60"
tooltiptext="&pref.repeat.audio.tip;"/>
<label value="&pref.label.minutes.max;" />
<textbox id="simtim-tboxRepeatMax"
preference="simtim-prefRepeatMax"
class="simtim-borderColors"
disabled="true"
type="number"
value="0"
wraparound="true"
size="2"
width="65"
min="0"
max="99" />
<label value="&pref.label.repeat.max;"
control="simtim-tboxRepeatMax" />
</hbox>
</vbox>
</groupbox>
<groupbox id="simtim-gboxAudioFiles">
<caption label="&pref.grpbox.audiofiles;"
class="simtim-prefGroupboxLabel" />
<hbox>
<radiogroup id="simtim-radgrpAudioFile"
preference="simtim-prefAudioFile"
oncommand="SimpleTimerOptions.onAudioFileRadioClick();">
<radio id="simtim-radAlarmClock"
label="&pref.rad.alarmclock;"
selected="true"
value="0" />
<radio id="simtim-radFanfare"
label="&pref.rad.fanfare;"
value="1" />
<radio id="simtim-radCustom"
label="&pref.rad.custom;"
value="2" />
</radiogroup>
<vbox>
<image id="simtim-imgAlarmClock"
class="simtim-prefAudioListen"
tooltiptext="&pref.audio.img.tip;"
onclick="SimpleTimer.playSound(0);" />
<spacer flex="1" />
<image id="simtim-imgFanfare"
class="simtim-prefAudioListen"
tooltiptext="&pref.audio.img.tip;"
onclick="SimpleTimer.playSound(1);" />
<spacer flex="1" />
<image id="simtim-imgCustom"
class="simtim-prefAudioListen"
tooltiptext="&pref.audio.img.tip;"
onclick="SimpleTimer.playSound(2);" />
</vbox>
</hbox>
<hbox align="center">
<spacer width="30" />
<textbox id="simtim-userWavPath"
class="simtim-borderColors"
readonly="true"
flex="1" />
<button id="simtim-btnBrowseWav"
label="&pref.btn.browse;"
disabled="true"
tooltiptext="&pref.browse.button.tip;"
oncommand="SimpleTimerOptions.onBrowseClick();" />
</hbox>
</groupbox>
</prefpane>
<prefpane id="simtim-paneNotificationsPositioning"
image="chrome://simpletimer/content/images/positioning.png"
label="&pref.pane.positioning;">
<preferences>
<preference id="simtim-prefDisplayIn"
name="extensions.simpletimer@grbradt.org.displayIn"
type="int" />
</preferences>
<groupbox>
<caption label="&pref.grpbox.display.in;"
class="simtim-prefGroupboxLabel" />
<radiogroup id="simtim-radgrpDisplayIn"
orient="horizontal"
preference="simtim-prefDisplayIn">
<radio id="simtim-radStatusbar"
label="&pref.rad.statusbar;"
selected="true"
value="0" />
<radio id="simtim-radToolbar"
label="&pref.rad.toolbar;"
value="1" />
<radio id="simtim-radBothbars"
label="&pref.rad.bothbars;"
value="2" />
</radiogroup>
</groupbox>
</prefpane>
<prefpane id="simtim-paneMiscSimple"
image="chrome://simpletimer/content/images/misc.png"
label="&pref.pane.misc;">
<preferences>
<preference id="simtim-prefOnStartup"
name="extensions.simpletimer@grbradt.org.onStartup"
type="int" />
<preference id="simtim-prefEventLogging"
name="extensions.simpletimer@grbradt.org.eventLogging"
type="bool" />
<preference id="simtim-prefDeleteLogEntries"
name="extensions.simpletimer@grbradt.org.deleteLogEntries"
type="int" />
<preference id="simtim-prefLeftClick"
name="extensions.simpletimer@grbradt.org.leftClick"
type="int" />
<preference id="simtim-prefTooltip"
name="extensions.simpletimer@grbradt.org.tooltip"
type="int" />
<preference id="simtim-prefDisablePauseResume"
name="extensions.simpletimer@grbradt.org.disablePauseResume"
type="bool" />
<preference id="simtim-prefClockType"
name="extensions.simpletimer@grbradt.org.clockType"
type="int" />
<preference id="simtim-prefShowSecs"
name="extensions.simpletimer@grbradt.org.showSecs"
type="bool" />
<preference id="simtim-prefClock24Hr"
name="extensions.simpletimer@grbradt.org.clock24Hr"
type="bool" />
<preference id="simtim-prefDateFormat"
name="extensions.simpletimer@grbradt.org.dateFormat"
type="int" />
</preferences>
<groupbox id="simtim-gboxOnStartup">
<caption label="&pref.grpbox.onStartup;"
class="simtim-prefGroupboxLabel" />
<radiogroup id="simtim-radgrpOnStartup"
orient="horizontal"
preference="simtim-prefOnStartup">
<radio id="simtim-radIcon"
label="&pref.rad.icon;"
selected="true"
value="0" />
<radio id="simtim-radClock"
label="&pref.rad.clock;"
value="1" />
<radio id="simtim-radCountup"
label="&pref.rad.countup;"
value="2" />
</radiogroup>
</groupbox>
<groupbox id="simtim-gboxEventLogging">
<caption label="&pref.grpbox.eventLogging;"
class="simtim-prefGroupboxLabel" />
<checkbox id="simtim-cboxEventLogging"
preference="simtim-prefEventLogging"
label="&pref.cbox.event.logging;"
oncommand="SimpleTimerOptions.onEventLoggingClick();" />
<hbox align="center">
<spacer width="30" />
<textbox id="simtim-eventLogPath"
class="simtim-borderColors"
readonly="true"
flex="1" />
<button id="simtim-btnBrowseLogPath"
label="&pref.btn.browse;"
tooltiptext="&pref.browse.log.tip;"
oncommand="SimpleTimerOptions.onBrowseLogClick();" />
</hbox>
<hbox align="center"
flex="1">
<spacer width="30" />
<label value="&pref.label.delete.log.entries;"
control="simtim-tboxDeleteLogEntries" />
<textbox id="simtim-tboxDeleteLogEntries"
preference="simtim-prefDeleteLogEntries"
class="simtim-borderColors"
type="number"
value="0"
wraparound="true"
size="2"
width="65"
min="0"
max="90"
tooltiptext="&pref.delete.log.entries.tip;" />
<label value="&pref.label.days;" />
<spacer flex="1" />
<button id="simtim-btnResetDefault"
pack="end"
label="&pref.btn.reset.default;"
tooltiptext="&pref.reset.default.tip;"
oncommand="SimpleTimerOptions.onResetDefaultClick();" />
</hbox>
</groupbox>
<groupbox id="simtim-gboxLeftClick">
<caption label="&pref.grpbox.leftClick;"
class="simtim-prefGroupboxLabel" />
<radiogroup id="simtim-radgrpLeftClick"
preference="simtim-prefLeftClick">
<hbox>
<radio id="simtim-radNone"
label="&pref.rad.tooltip.none;"
value="0" />
<radio id="simtim-radLeftClickClock"
label="&pref.rad.clock;"
selected="true"
value="1" />
<radio id="simtim-radLeftClickCountUp"
label="&pref.rad.countup;"
value="2" />
</hbox>
<hbox>
<radio id="simtim-radLeftClickCountDown"
label="&pref.rad.countdown;"
value="3" />
<radio id="simtim-radLeftClickNotifyMe"
label="&pref.rad.notifyme;"
value="4" />
</hbox>
</radiogroup>
</groupbox>
<groupbox id="simtim-gboxPauseResume">
<caption label="&pref.grpbox.pauseResume;"
class="simtim-prefGroupboxLabel" />
<checkbox id="simtim-cboxPauseResume"
preference="simtim-prefDisablePauseResume"
label="&pref.cbox.disable.pauseResume;"
tooltiptext="&pref.disable.pauseResume.tip;" />
</groupbox>
<groupbox id="simtim-gboxTooltip">
<caption label="&pref.grpbox.tooltip;"
class="simtim-prefGroupboxLabel" />
<radiogroup id="simtim-radgrpTooltip"
preference="simtim-prefTooltip">
<hbox>
<radio id="simtim-radTooltipNone"
label="&pref.rad.tooltip.none;"
value="0" />
<radio id="simtim-radTooltipDate"
label="&pref.rad.tooltip.date;"
value="1" />
<radio id="simtim-radTooltipFull"
label="&pref.rad.tooltip.full;"
selected="true"
value="2" />
</hbox>
<hbox>
<radio id="simtim-radTooltipDateClock"
label="&pref.rad.tooltip.date.clock;"
value="3" />
<radio id="simtim-radTooltipTimers"
label="&pref.rad.tooltip.timers;"
value="4" />
</hbox>
</radiogroup>
</groupbox>
<groupbox id="simtim-gboxClock24Hr">
<caption label="&pref.grpbox.clock24Hr;"
class="simtim-prefGroupboxLabel" />
<vbox>
<hbox align="center">
<radiogroup id="simtim-radgrpClockType"
orient="horizontal"
preference="simtim-prefClockType"
oncommand="SimpleTimerOptions.onClockTypeClick();">
<radio id="simtim-radClockStandard"
label="&pref.rad.clock.standard;"
selected="true"
value="0" />
<radio id="simtim-radClockEpoch"
label="&pref.rad.clock.epoch;"
tooltiptext="&pref.rad.clock.epoch.tip;"
value="1" />
</radiogroup>
<separator orient="vertical" />
<label value="&pref.label.date.format;" />
<menulist id="simtim-mlistDateFormat"
preference="simtim-prefDateFormat"
readonly="true"
tooltiptext="&pref.date.format.tip;">
<menupopup id="simtim-mpopDateFormat">
<menuitem id="simtim-mitemDate0"
label="&pref.mitem.nodate;"
value="0" />
<menuitem id="simtim-mitemDate1"
value="1" />
<menuitem id="simtim-mitemDate2"
value="2" />
<menuitem id="simtim-mitemDate3"
value="3" />
<menuitem id="simtim-mitemDate4"
value="4" />
<menuitem id="simtim-mitemDate5"
value="5" />
<menuitem id="simtim-mitemDate6"
value="6" />
<menuitem id="simtim-mitemDate7"
value="7" />
<menuitem id="simtim-mitemDate8"
value="8" />
<menuitem id="simtim-mitemDate9"
value="9" />
</menupopup>
</menulist>
</hbox>
<checkbox id="simtim-cboxShowSecs"
preference="simtim-prefShowSecs"
label="&pref.cbox.showSecs;" />
<checkbox id="simtim-cboxClock24Hr"
preference="simtim-prefClock24Hr"
label="&pref.cbox.clock24Hr;"
hidden="true" />
</vbox>
</groupbox>
</prefpane>
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-fileIO.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-eventLog.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-options.js" />
<stringbundleset id="stringbundleset">
<stringbundle id="simtim-strings"
src="chrome://simpletimer/locale/simpletimer.properties" />
</stringbundleset>
</prefwindow>